package com.dhcc.bpm.modules.api.mapper;

import com.dhcc.bpm.modules.api.entity.TransformProtocol;
import com.dhcc.bpm.modules.api.vo.TransformProtocolVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;

/**
 * 协议转换表 Mapper 接口
 *
 * @author donghang
 * @since 2020-03-09
 */
public interface TransformProtocolMapper extends BaseMapper<TransformProtocol> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param transformProtocol
	 * @return
	 */
	List<TransformProtocolVO> selectTransformProtocolPage(IPage page, TransformProtocolVO transformProtocol);

	TransformProtocol getByAPiId(Long apiId);
}
